//
//  UserDefault.h
//  BaseTdkc
//
//  Created by DavidHuang on 16/7/2.
//  Copyright © 2016年 黄栋炜. All rights reserved.
//

#import <Foundation/Foundation.h>

#define DEFAULTS_INFO(_OBJECT, _NAME) [[NSUserDefaults standardUserDefaults] setObject:_OBJECT forKey:_NAME]
#define DEFAULTS_SYNCHRONIZE [[NSUserDefaults standardUserDefaults] synchronize]


#define UserDefaults_UserName [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_key_UserName]

#define UserDefaults_PassWord [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_key_PassWord]

#define UserDefaults_LoginStats [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_key_LoginStats]

#define UserDefaults_UserSelfInfo                  [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_key_UserSelfInfo]

#define UserDefaults_AllBankName                  [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_key_AllBankName]

#define UserDefaults_FirstPageSearchLog                  [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_Key_FirstPageSearchLog]



#define UserDefaults_AGSGDBGeodataBaseName   [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_Key_AGSGDBGeodataBaseName]

#define UserDefaults_TileMapLayerName   [[NSUserDefaults standardUserDefaults] objectForKey:UserDefaults_Key_TileMapLayerName]

@interface UserDefault : NSObject
extern NSString *const UserDefaults_key_UserName;
extern NSString *const UserDefaults_key_PassWord;
extern NSString *const UserDefaults_key_LoginStats;
extern NSString *const UserDefaults_key_UserSelfInfo;
extern NSString *const UserDefaults_key_AllBankName;
extern NSString *const UserDefaults_Key_FirstPageSearchLog;
extern NSString *const UserDefaults_Key_SearchHistory;

extern NSString *const UserDefaults_Key_AGSGDBGeodataBaseName;
extern NSString *const UserDefaults_Key_TileMapLayerName;
@end




